<template>
    <div>接受attrs{{ childProp }}</div>
</template>

<script setup>
import { defineProps } from 'vue'
const props = defineProps({
    childProp: String
});
console.log('props', props.childProp)
</script>

<style>

</style>